<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery-1.12.1.min.js" type="text/javascript" charset="utf-8"></script>
		
		<script>
			function onLoaded(){
				//Jquery 对象
				// console.log('document.getElementById("d1")',document.getElementById("d1"))
				// console.log('$("#d1")',$("#d1"))
				
				
				console.log("原生的方式",document.getElementById("d1").innerText)
				console.log("jQuery",$("#d1").text())
			}
		</script>
	</head>
	<body onload="onLoaded()">
		
		<div id="d1">dddddddd</div>
		
	</body>
</html>
